package com.woniu.sharepark.leasesystem.common.dto;

import org.springframework.stereotype.Component;
import org.springframework.web.multipart.MultipartFile;

/**
 * @ClassName: IDCardDTO
 * @Description: 身份证信息DTO，用于接受前端传回来的身份证信息数据
 * @Author: Zongjie.Li
 * @Date: 2019/6/3
 * @Version: 1.0
 **/
@Component
public class IDCardDTO {

    private String name;
    private String card;
    private MultipartFile frontImage;
    private MultipartFile backImage;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCard() {
        return card;
    }

    public void setCard(String card) {
        this.card = card;
    }

    public MultipartFile getFrontImage() {
        return frontImage;
    }

    public void setFrontImage(MultipartFile frontImage) {
        this.frontImage = frontImage;
    }

    public MultipartFile getBackImage() {
        return backImage;
    }

    public void setBackImage(MultipartFile backImage) {
        this.backImage = backImage;
    }

    @Override
    public String toString() {
        return "IDCardDTO{" +
                "name='" + name + '\'' +
                ", card='" + card + '\'' +
                ", frontImage=" + frontImage +
                ", backImage=" + backImage +
                '}';
    }
}
